﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="dsChart" targetNamespace="http://tempuri.org/dsChart.xsd" xmlns:mstns="http://tempuri.org/dsChart.xsd" xmlns="http://tempuri.org/dsChart.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="CrewManagmentConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="CrewManagmentConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.QLTV.Properties.Settings.GlobalReference.Default.CrewManagmentConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblRankTableAdapter" GeneratorDataComponentClassName="tblRankTableAdapter" Name="tblRank" UserDataComponentName="tblRankTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        tblCrew.nRankID, tblRank.cRankName, tblRank.nRankLevel, COUNT(*) AS NumberCrew
FROM            tblCrew INNER JOIN
                         tblAssignment ON tblCrew.nCrewId = tblAssignment.nCrewid INNER JOIN
                         tblRank ON tblCrew.nRankID = tblRank.nRankId
WHERE        (tblAssignment.isActive = 1) AND (tblAssignment.cStatus &lt;&gt; N'On Resign') AND (tblAssignment.cStatus &lt;&gt; N'On Retire')
GROUP BY tblCrew.nRankID, tblRank.cRankName, tblRank.nRankLevel
ORDER BY tblRank.nRankLevel</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="cRankName" DataSetColumn="cRankName" />
              <Mapping SourceColumn="NumberCrew" DataSetColumn="NumberCrew" />
              <Mapping SourceColumn="nRankID" DataSetColumn="nRankID" />
              <Mapping SourceColumn="nRankLevel" DataSetColumn="nRankLevel" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblAgeTableAdapter" GeneratorDataComponentClassName="tblAgeTableAdapter" Name="tblAge" UserDataComponentName="tblAgeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>

select '20 - 30' as RangeAge, (select count(tblCrew.nCrewId) from dbo.tblCrew
join tblAssignment on tblCrew.nCrewId= tblAssignment.nCrewid
where tblAssignment.cStatus != N'On Retire' and tblAssignment.cStatus!= N'On Resign' and tblAssignment.isActive=1 and DATEDIFF(YEAR,dDateOfBirth,GETDATE()) between 20 and 30
) as NumberCrew

union
select '31 - 40' as RangeAge, (select count(tblCrew.nCrewId) from dbo.tblCrew
join tblAssignment on tblCrew.nCrewId= tblAssignment.nCrewid
where tblAssignment.cStatus != N'On Retire' and tblAssignment.cStatus!= N'On Resign' and tblAssignment.isActive=1 and DATEDIFF(YEAR,dDateOfBirth,GETDATE()) between 31 and 40
) as NumberCrew
union

select N'Trên 40' as RangeAge, (select count(tblCrew.nCrewId) from dbo.tblCrew
join tblAssignment on tblCrew.nCrewId= tblAssignment.nCrewid
where tblAssignment.cStatus != N'On Retire' and tblAssignment.cStatus!= N'On Resign' and tblAssignment.isActive=1 and DATEDIFF(YEAR,dDateOfBirth,GETDATE())  &gt;40
) as NumberCrew



</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RangeAge" DataSetColumn="RangeAge" />
              <Mapping SourceColumn="NumberCrew" DataSetColumn="NumberCrew" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblSexTableAdapter" GeneratorDataComponentClassName="tblSexTableAdapter" Name="tblSex" UserDataComponentName="tblSexTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>select 'Male' as Sex, (select COUNT(*) from tblCrew where tblCrew.cSex = 'Male') as NumberCrew
from tblCrew
union
select 'Female' as Sex, (select COUNT(*) from tblCrew where tblCrew.cSex = 'Female') as NumberCrew
from tblCrew
union
select 'Other' as Sex, (select COUNT(*) from tblCrew where tblCrew.cSex = 'Other') as NumberCrew
from tblCrew</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Sex" DataSetColumn="Sex" />
              <Mapping SourceColumn="NumberCrew" DataSetColumn="NumberCrew" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblMaritalTableAdapter" GeneratorDataComponentClassName="tblMaritalTableAdapter" Name="tblMarital" UserDataComponentName="tblMaritalTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        'Married' AS Status,
                             (SELECT        COUNT(*) AS Expr1
                               FROM            tblCrew INNER JOIN
                                                         tblAssignment ON tblCrew.nCrewId = tblAssignment.nCrewid
                               WHERE        (tblAssignment.cStatus &lt;&gt; N'On Retire') AND (tblAssignment.cStatus &lt;&gt; N'On Resign') AND (tblAssignment.isActive = 1) AND 
                                                         (tblCrew.cMaritalStatus LIKE '%Married%')) AS NumberCrew
UNION
SELECT        'Single' AS Status,
                             (SELECT        COUNT(*) AS Expr1
                               FROM            tblCrew AS tblCrew_2 INNER JOIN
                                                         tblAssignment AS tblAssignment_1 ON tblCrew_2.nCrewId = tblAssignment_1.nCrewid
                               WHERE        (tblAssignment_1.cStatus &lt;&gt; N'On Retire') AND (tblAssignment_1.cStatus &lt;&gt; N'On Resign') AND (tblAssignment_1.isActive = 1) AND 
                                                         (tblCrew_2.cMaritalStatus LIKE '%Single%')) AS NumberCrew
FROM            tblCrew AS tblCrew_1
WHERE        (cMaritalStatus LIKE '%Single%')</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="NumberCrew" DataSetColumn="NumberCrew" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tblEducationTableAdapter" GeneratorDataComponentClassName="tblEducationTableAdapter" Name="tblEducation" UserDataComponentName="tblEducationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.viewEducationStatictic" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        Education, Number
FROM            viewEducationStatictic
ORDER BY sort</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Education" DataSetColumn="Education" />
              <Mapping SourceColumn="Number" DataSetColumn="Number" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="viewStatusTableAdapter" GeneratorDataComponentClassName="viewStatusTableAdapter" Name="viewStatus" UserDataComponentName="viewStatusTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectName="CrewManagment.dbo.viewStatus" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT Crewstatus, sort, Number FROM dbo.viewStatus</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Crewstatus" DataSetColumn="Crewstatus" />
              <Mapping SourceColumn="sort" DataSetColumn="sort" />
              <Mapping SourceColumn="Number" DataSetColumn="Number" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="tadTong" GeneratorDataComponentClassName="tadTong" Name="TongSo" UserDataComponentName="tadTong">
            <MainSource>
              <DbSource ConnectionRef="CrewManagmentConnectionString (Settings)" DbObjectType="Unknown" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT        COUNT(tblCrew.nCrewId) AS Total
FROM            tblAssignment INNER JOIN
                         tblCrew ON tblAssignment.nCrewid = tblCrew.nCrewId
WHERE        (tblAssignment.isActive = 1) AND (tblAssignment.cStatus = 'On Board' OR
                         tblAssignment.cStatus = N'On Vacation' OR
                         tblAssignment.cStatus = N'New Crew')</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="Total" DataSetColumn="Total" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="dsChart" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="true" msprop:Generator_DataSetName="dsChart" msprop:Generator_UserDSName="dsChart">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="tblRank" msprop:Generator_TableClassName="tblRankDataTable" msprop:Generator_TableVarName="tabletblRank" msprop:Generator_TablePropName="tblRank" msprop:Generator_RowDeletingName="tblRankRowDeleting" msprop:Generator_UserTableName="tblRank" msprop:Generator_RowChangingName="tblRankRowChanging" msprop:Generator_RowEvHandlerName="tblRankRowChangeEventHandler" msprop:Generator_RowDeletedName="tblRankRowDeleted" msprop:Generator_RowEvArgName="tblRankRowChangeEvent" msprop:Generator_RowChangedName="tblRankRowChanged" msprop:Generator_RowClassName="tblRankRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="cRankName" msprop:Generator_ColumnVarNameInTable="columncRankName" msprop:Generator_ColumnPropNameInRow="cRankName" msprop:Generator_ColumnPropNameInTable="cRankNameColumn" msprop:Generator_UserColumnName="cRankName" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NumberCrew" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumberCrew" msprop:Generator_ColumnPropNameInRow="NumberCrew" msprop:Generator_ColumnPropNameInTable="NumberCrewColumn" msprop:Generator_UserColumnName="NumberCrew" type="xs:int" minOccurs="0" />
              <xs:element name="nRankID" msprop:Generator_ColumnVarNameInTable="columnnRankID" msprop:Generator_ColumnPropNameInRow="nRankID" msprop:Generator_ColumnPropNameInTable="nRankIDColumn" msprop:Generator_UserColumnName="nRankID" type="xs:int" minOccurs="0" />
              <xs:element name="nRankLevel" msprop:Generator_ColumnVarNameInTable="columnnRankLevel" msprop:Generator_ColumnPropNameInRow="nRankLevel" msprop:Generator_ColumnPropNameInTable="nRankLevelColumn" msprop:Generator_UserColumnName="nRankLevel" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblAge" msprop:Generator_TableClassName="tblAgeDataTable" msprop:Generator_TableVarName="tabletblAge" msprop:Generator_TablePropName="tblAge" msprop:Generator_RowDeletingName="tblAgeRowDeleting" msprop:Generator_UserTableName="tblAge" msprop:Generator_RowChangingName="tblAgeRowChanging" msprop:Generator_RowEvHandlerName="tblAgeRowChangeEventHandler" msprop:Generator_RowDeletedName="tblAgeRowDeleted" msprop:Generator_RowEvArgName="tblAgeRowChangeEvent" msprop:Generator_RowChangedName="tblAgeRowChanged" msprop:Generator_RowClassName="tblAgeRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="RangeAge" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnRangeAge" msprop:Generator_ColumnPropNameInRow="RangeAge" msprop:Generator_ColumnPropNameInTable="RangeAgeColumn" msprop:Generator_UserColumnName="RangeAge" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="7" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NumberCrew" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumberCrew" msprop:Generator_ColumnPropNameInRow="NumberCrew" msprop:Generator_ColumnPropNameInTable="NumberCrewColumn" msprop:Generator_UserColumnName="NumberCrew" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblSex" msprop:Generator_TableClassName="tblSexDataTable" msprop:Generator_TableVarName="tabletblSex" msprop:Generator_TablePropName="tblSex" msprop:Generator_RowDeletingName="tblSexRowDeleting" msprop:Generator_UserTableName="tblSex" msprop:Generator_RowChangingName="tblSexRowChanging" msprop:Generator_RowEvHandlerName="tblSexRowChangeEventHandler" msprop:Generator_RowDeletedName="tblSexRowDeleted" msprop:Generator_RowEvArgName="tblSexRowChangeEvent" msprop:Generator_RowChangedName="tblSexRowChanged" msprop:Generator_RowClassName="tblSexRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Sex" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnSex" msprop:Generator_ColumnPropNameInRow="Sex" msprop:Generator_ColumnPropNameInTable="SexColumn" msprop:Generator_UserColumnName="Sex" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NumberCrew" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumberCrew" msprop:Generator_ColumnPropNameInRow="NumberCrew" msprop:Generator_ColumnPropNameInTable="NumberCrewColumn" msprop:Generator_UserColumnName="NumberCrew" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblMarital" msprop:Generator_TableClassName="tblMaritalDataTable" msprop:Generator_TableVarName="tabletblMarital" msprop:Generator_TablePropName="tblMarital" msprop:Generator_RowDeletingName="tblMaritalRowDeleting" msprop:Generator_UserTableName="tblMarital" msprop:Generator_RowChangingName="tblMaritalRowChanging" msprop:Generator_RowEvHandlerName="tblMaritalRowChangeEventHandler" msprop:Generator_RowDeletedName="tblMaritalRowDeleted" msprop:Generator_RowEvArgName="tblMaritalRowChangeEvent" msprop:Generator_RowChangedName="tblMaritalRowChanged" msprop:Generator_RowClassName="tblMaritalRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Status" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="7" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="NumberCrew" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumberCrew" msprop:Generator_ColumnPropNameInRow="NumberCrew" msprop:Generator_ColumnPropNameInTable="NumberCrewColumn" msprop:Generator_UserColumnName="NumberCrew" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="tblEducation" msprop:Generator_TableClassName="tblEducationDataTable" msprop:Generator_TableVarName="tabletblEducation" msprop:Generator_TablePropName="tblEducation" msprop:Generator_RowDeletingName="tblEducationRowDeleting" msprop:Generator_UserTableName="tblEducation" msprop:Generator_RowChangingName="tblEducationRowChanging" msprop:Generator_RowEvHandlerName="tblEducationRowChangeEventHandler" msprop:Generator_RowDeletedName="tblEducationRowDeleted" msprop:Generator_RowEvArgName="tblEducationRowChangeEvent" msprop:Generator_RowChangedName="tblEducationRowChanged" msprop:Generator_RowClassName="tblEducationRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Education" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnEducation" msprop:Generator_ColumnPropNameInRow="Education" msprop:Generator_ColumnPropNameInTable="EducationColumn" msprop:Generator_UserColumnName="Education">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="9" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Number" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnNumber" msprop:Generator_ColumnPropNameInRow="Number" msprop:Generator_ColumnPropNameInTable="NumberColumn" msprop:Generator_UserColumnName="Number" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="viewStatus" msprop:Generator_TableClassName="viewStatusDataTable" msprop:Generator_TableVarName="tableviewStatus" msprop:Generator_TablePropName="viewStatus" msprop:Generator_RowDeletingName="viewStatusRowDeleting" msprop:Generator_UserTableName="viewStatus" msprop:Generator_RowChangingName="viewStatusRowChanging" msprop:Generator_RowEvHandlerName="viewStatusRowChangeEventHandler" msprop:Generator_RowDeletedName="viewStatusRowDeleted" msprop:Generator_RowEvArgName="viewStatusRowChangeEvent" msprop:Generator_RowChangedName="viewStatusRowChanged" msprop:Generator_RowClassName="viewStatusRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Crewstatus" msprop:Generator_ColumnVarNameInTable="columnCrewstatus" msprop:Generator_ColumnPropNameInRow="Crewstatus" msprop:Generator_ColumnPropNameInTable="CrewstatusColumn" msprop:Generator_UserColumnName="Crewstatus">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="21" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="sort" msprop:Generator_ColumnVarNameInTable="columnsort" msprop:Generator_ColumnPropNameInRow="sort" msprop:Generator_ColumnPropNameInTable="sortColumn" msprop:Generator_UserColumnName="sort" type="xs:int" />
              <xs:element name="Number" msprop:Generator_ColumnVarNameInTable="columnNumber" msprop:Generator_ColumnPropNameInRow="Number" msprop:Generator_ColumnPropNameInTable="NumberColumn" msprop:Generator_UserColumnName="Number" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="TongSo" msprop:Generator_TableClassName="TongSoDataTable" msprop:Generator_TableVarName="tableTongSo" msprop:Generator_TablePropName="TongSo" msprop:Generator_RowDeletingName="TongSoRowDeleting" msprop:Generator_UserTableName="TongSo" msprop:Generator_RowChangingName="TongSoRowChanging" msprop:Generator_RowEvHandlerName="TongSoRowChangeEventHandler" msprop:Generator_RowDeletedName="TongSoRowDeleted" msprop:Generator_RowEvArgName="TongSoRowChangeEvent" msprop:Generator_RowChangedName="TongSoRowChanged" msprop:Generator_RowClassName="TongSoRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Total" msdata:ReadOnly="true" msprop:Generator_ColumnVarNameInTable="columnTotal" msprop:Generator_ColumnPropNameInRow="Total" msprop:Generator_ColumnPropNameInTable="TotalColumn" msprop:Generator_UserColumnName="Total" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>